package com.kqb.service.impl;

import com.kqb.common.domain.AjaxResult;
import com.kqb.mapper.ProductManagementMapper;
import com.kqb.pojo.Products;
import com.kqb.service.ProductManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductManagementServiceImpl implements ProductManagementService {

    @Autowired
    ProductManagementMapper PMM;

    /**
     * 查询所有产品
     * @param products
     * @return
     */
    @Override
    public List<Products> selectAllProducts(Products products) {
        List<Products> list = PMM.selectAllProducts(products);
        return list;
    }
}
